package com.vv.tools.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.vv.tools.common.support.BaseModel;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户与角色对应关系
 * </p>
 *
 * @author vv
 * @since 2025-02-19
 */
@Getter
@Setter
@TableName("sys_user_role")
public class UserRole extends BaseModel {

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 角色ID
     */
    @TableField("role_id")
    private Long roleId;
}
